package cardgame.demo.event;

import cardgame.demo.logger.LogUtil;

public class SuoDingCardEvent extends CardEvent {

    public SuoDingCardEvent() {
        cardName = "锁定";
    }

    @Override
    void cardEffective() {
        LogUtil.println("%s 被【锁定】，情报传递至其前时无法拒绝。", targetId);
    }

    public static void main(String[] args) {
        new ZengYuanCardEvent()
                .userId("player1")
                .targetId("player1")
                .execute();
    }
}
